/*
 * cmd.h
 *
 *  Created on: 2013-3-15
 *      Author: root
 */

#ifndef CMD_H_
#define CMD_H_

//server向controller发送的命令
typedef struct
{
uint16 shortAddr;
uint16 cmd;
uint32 value1;
uint32 value2;
}ServerCmd_t;


//controller向server发送的回复
typedef struct
{
uint16 shortAddr;
uint16 cmd;
uint32 value1;
uint32 value2;
}DeviceCmd_t;



#endif /* CMD_H_ */
